﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Utils
{
    public static class IPropertySerializerExtension
    {
        public static string ParamToString(this IPropertySerializer serializer,
            string key, string value)
        {
            return serializer.PropertyToString(
                new List<Tuple<string, string>>() { 
                    new Tuple<string, string>(key, value)
                });
        }
    }
}
